cmake_minimum_required(VERSION 3.6)

project(boost_strip)
include_directories(.)
file(GLOB_RECURSE SELF_TEMP_SRC_FILES RELATIVE ${PROJECT_SOURCE_DIR}
        libs/chrono/src/*.cpp
        libs/config/src/*.cpp
        libs/date_time/src/*.cpp
        libs/regex/src/*.cpp
        libs/system/src/*.cpp
        )

source_group(libs FILES ${SELF_TEMP_SRC_FILES})
list(APPEND SELF_SRC_FILES ${SELF_TEMP_SRC_FILES})

add_library(${PROJECT_NAME} STATIC ${SELF_TEMP_SRC_FILES})

target_include_directories(${PROJECT_NAME}
        PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
        $<INSTALL_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
        )